package com.xqboss.apps.mapper.equipment;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xqboss.apps.domain.equipment.EquipmentUpgradeConfig;
import com.xqboss.apps.dto.equipment.EquipmentUpgradeConfigDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 装备升级加点-配置Mapper
 *
 * @author wangcong
 * @date 2023-11-23
 */
public interface EquipmentUpgradeConfigMapper extends BaseMapper<EquipmentUpgradeConfig> {

    /**
     * 按装备升级加点模版ID获取模板信息，并返回对应的藏品名称
     *
     * @param id 装备升级加点模版ID
     * @return EquipmentUpgradeConfigDto
     */
    List<EquipmentUpgradeConfigDto> listByQuery(@Param("upgradeTemplateId") Long id);

}
